package main

import (
	"fmt"
)

func main() {
	fmt.Println("fefe")
	a, b, c := A()
	fmt.Println(a, b, c)

	fmt.Println("-----------1-----------")
	defer func() {
		err := recover()
		fmt.Println(err, "111111")
		fmt.Println("a")
	}()
	fmt.Println("-----------2----------")
	defer func() {
		err := recover()
		fmt.Println(err, "222222")
		fmt.Println("b")
	}()
	fmt.Println("-----------3-----------")
	err := recover()
	fmt.Println(err, "333333")
}

func A() (a, b, c int) {
	a, b, c = 1, 2, 3
	return
}

func B() (int, int, int) {
	a, b, c := 1, 2, 3
	return a, b, c
}

func C(a int, b int) {

}
func D(a, b, c int) int {
	return 1
}
func E() {

}
func F(a ...int) {

}
